package com.hjb.service.impl.common;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hjb.service.common.CmsContentService;
import com.hjb.service.mapper.CmsContentMapper;

/**
 * 公告接口业务实现类
 * @author zhangxl
 * @date 2017-07-23
 * @version 1.0
 */
@Service
public class CmsContentServiceImpl implements CmsContentService{

	@Autowired
	private CmsContentMapper contentMapper;
	
	@Override
	public List<Map<String, Object>> getContentList(Map<String, Object> params) {
		return contentMapper.queryContentList(params);
	}

	@Override
	public Map<String, Object> getContentInfo(Map<String, Object> params) {
		return contentMapper.queryContentInfoById(params);
	}
	

}
